<template>
	<div id="home">
		<van-nav-bar title="首页" left-text="返回" left-arrow>
			<template #left>
			  <van-icon name="location-o" size="18" />
			</template>
		  <template #right>
		    <van-icon name="scan" size="18" />
		  </template>
		</van-nav-bar>
		<swiper></swiper>
		<floor></floor>
		<sort></sort>
		<tabbar></tabbar>
	</div>
	
</template>

<script>
	import swiper from '@/components/home/swiper'
	import floor  from '@/components/home/floor'
	import sort   from '@/components/home/sort.vue'
	import tabbar from '@/components/tabbar.vue'
	export default {
		name: 'home',
		data() {
		  return {
			  
		  }
		},
		components:{
			swiper,
			floor,
			sort,
			tabbar
		}
	}
</script>

<style scoped="scoped">
	#home{
		background-color: #F0F0F0;
		width: 100%;
		float: left;
	}
	.van-nav-bar{
		position: fixed;
		width: 100%;
	}
</style>